.light-status-card {
  width: calc(100vw - 40px);
  background: var(--color-card-bg);
  border-radius: var(--border-radius-medium);
  margin-top: var(--spacing-lg);
  box-shadow: 0 2px 8px var(--color-shadow);
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
}

.light-status-card .card-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.light-summary {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.light-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  justify-content: center;
}

.light-button {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-small);
  background: var(--color-background);
  cursor: pointer;
  transition: all 0.3s;
}

.light-button.switch-entity {
  opacity: 0.8;
}

.light-name {
  margin-top: 5px;
  font-size: 1em;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.light-name.long-text {
  font-size: 0.85em;
} 